
const module = {
    namespaced:true,//开启命名空间
    state: {
        cityId: '310100',
        cityName: '上海',
    },
    mutations: {
        updateCityName(state, cityName) {
            state.cityName = cityName
        },
        updateCityId(state, cityId) {
            state.cityId = cityId
        },
    },

}
export default module